package com.zhuoshi.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zhuoshi.entity.User;

public interface UserDao {
	
		public int  addUser(User user);
		
		public int  updateUser(User user);
		
		public int  deleteUser(User user);
		
	   //查询
		public List<User> selectUserbyName(@Param("sname") String name);

		public User selectUserbyId(@Param("id")Integer id);
}
